export default {
  install(app: any) {
    loading(app);
  },
};

function loading(app: any) {
  app.directive("loading", {
    mounted(el: HTMLElement, binding: any) {
      console.log(el, binding);
    },
  });
  // 定义一个全局指令
}
